package com.newtribe.tk;

import java.io.Serializable;
/**
 *
 * <p> </p>
 * <p>Description: Innovatation method</p>
 * <p>Copyright: Copyright (c)  newtribe innovation 2005</p>
 * <p> the core class task man talk to sub task executer </p>
 * @author fuwei
 * @version 1.0
 */
public class Task implements Serializable {
  public Task() {

  }
  /**
   * the sub class should override ,do user defined implementation.
   * method return true is the only identifier that this task has been completed  .
   * @return boolean
   * @throws java.lang.Exception
   */
  public boolean execute () throws Exception {
     throw new IllegalStateException("no task implementation specified !") ;

  } ;

}